/* 
 * File:   XpackDetector.h
 * Author: minaev
 *
 * Created on 23 Декабрь 2013 г., 11:37
 */

#ifndef XPACKDETECTOR_H
#define	XPACKDETECTOR_H

#include <stdint.h>

#include "Xpack.h"
#include "XbeeContainer.h"

class XpackDetector {
public:
    XpackDetector(XbeeContainer* xcont);
    virtual uint8_t getXpackType(){};
    virtual bool isXpackValid(Xpack* pack){};
    virtual void action(Xpack* pack){};
    XbeeContainer* xcont;
};

typedef XpackDetector* pXpackDetector;

#endif	/* XPACKDETECTOR_H */

